package sg.nus.iss.vmcs.models;

/**
 * Store Object class that is the base class for all items held in stores<br><br>
 * Modifications:
 * <li>Philip Chew - Updated to include value of store object to encourage item reuse later</li>
 * <br><br>
 * @author Olivio Miotto
 * @author Philip
 */
 public class StoreObject {

    protected String name;
    protected int value;

    public StoreObject(){}

    public StoreObject(String n, int v){
    	name = n;
    	value = v;
    }

    public String getName (){
    	return name;
    }

    public void setName(String n){
    	name = n;
    }
    
    public int getValue() {
    	return value;
    }
    
    public void setValue(int v) {
    	this.value = v;
    }
}